import request from '@/utils/request'

export default {
  //登录
  login(ucenterMember) {
    return request({
      url: '/educenter/ucenter/login',
      method: 'post',
      data: ucenterMember
    })
  },

  //根据token获取用户信息（这里不用传参数！！！）
  getMemberInfo() {
    return request({
      url: '/educenter/ucenter/getMemberInfo',
      method: 'get'
    })
  },
}